<!DOCTYPE html><html><head>
      <title>NamdSig</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.18/dist/katex.min.css">
      
      
      
      
      
      
      
      
      
      <style>
      /**
 * prism.js Github theme based on GitHub's theme.
 * @author Sam Clarke
 */
code[class*="language-"],
pre[class*="language-"] {
  color: #333;
  background: none;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.4;

  -moz-tab-size: 8;
  -o-tab-size: 8;
  tab-size: 8;

  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
  padding: .8em;
  overflow: auto;
  /* border: 1px solid #ddd; */
  border-radius: 3px;
  /* background: #fff; */
  background: #f5f5f5;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal;
  background: #f5f5f5;
}

.token.comment,
.token.blockquote {
  color: #969896;
}

.token.cdata {
  color: #183691;
}

.token.doctype,
.token.punctuation,
.token.variable,
.token.macro.property {
  color: #333;
}

.token.operator,
.token.important,
.token.keyword,
.token.rule,
.token.builtin {
  color: #a71d5d;
}

.token.string,
.token.url,
.token.regex,
.token.attr-value {
  color: #183691;
}

.token.property,
.token.number,
.token.boolean,
.token.entity,
.token.atrule,
.token.constant,
.token.symbol,
.token.command,
.token.code {
  color: #0086b3;
}

.token.tag,
.token.selector,
.token.prolog {
  color: #63a35c;
}

.token.function,
.token.namespace,
.token.pseudo-element,
.token.class,
.token.class-name,
.token.pseudo-class,
.token.id,
.token.url-reference .token.variable,
.token.attr-name {
  color: #795da3;
}

.token.entity {
  cursor: help;
}

.token.title,
.token.title .token.punctuation {
  font-weight: bold;
  color: #1d3e81;
}

.token.list {
  color: #ed6a43;
}

.token.inserted {
  background-color: #eaffea;
  color: #55a532;
}

.token.deleted {
  background-color: #ffecec;
  color: #bd2c00;
}

.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}


/* JSON */
.language-json .token.property {
  color: #183691;
}

.language-markup .token.tag .token.punctuation {
  color: #333;
}

/* CSS */
code.language-css,
.language-css .token.function {
  color: #0086b3;
}

/* YAML */
.language-yaml .token.atrule {
  color: #63a35c;
}

code.language-yaml {
  color: #183691;
}

/* Ruby */
.language-ruby .token.function {
  color: #333;
}

/* Markdown */
.language-markdown .token.url {
  color: #795da3;
}

/* Makefile */
.language-makefile .token.symbol {
  color: #795da3;
}

.language-makefile .token.variable {
  color: #183691;
}

.language-makefile .token.builtin {
  color: #0086b3;
}

/* Bash */
.language-bash .token.keyword {
  color: #0086b3;
}

/* highlight */
pre[data-line] {
  position: relative;
  padding: 1em 0 1em 3em;
}
pre[data-line] .line-highlight-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  display: block;
  width: 100%;
}

pre[data-line] .line-highlight {
  position: absolute;
  left: 0;
  right: 0;
  padding: inherit 0;
  margin-top: 1em;
  background: hsla(24, 20%, 50%,.08);
  background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
  pointer-events: none;
  line-height: inherit;
  white-space: pre;
}

pre[data-line] .line-highlight:before, 
pre[data-line] .line-highlight[data-end]:after {
  content: attr(data-start);
  position: absolute;
  top: .4em;
  left: .6em;
  min-width: 1em;
  padding: 0 .5em;
  background-color: hsla(24, 20%, 50%,.4);
  color: hsl(24, 20%, 95%);
  font: bold 65%/1.5 sans-serif;
  text-align: center;
  vertical-align: .3em;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 1px white;
}

pre[data-line] .line-highlight[data-end]:after {
  content: attr(data-end);
  top: auto;
  bottom: .4em;
}html body{font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;font-size:16px;line-height:1.6;color:#333;background-color:#fff;overflow:initial;box-sizing:border-box;word-wrap:break-word}html body>:first-child{margin-top:0}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{line-height:1.2;margin-top:1em;margin-bottom:16px;color:#000}html body h1{font-size:2.25em;font-weight:300;padding-bottom:.3em}html body h2{font-size:1.75em;font-weight:400;padding-bottom:.3em}html body h3{font-size:1.5em;font-weight:500}html body h4{font-size:1.25em;font-weight:600}html body h5{font-size:1.1em;font-weight:600}html body h6{font-size:1em;font-weight:600}html body h1,html body h2,html body h3,html body h4,html body h5{font-weight:600}html body h5{font-size:1em}html body h6{color:#5c5c5c}html body strong{color:#000}html body del{color:#5c5c5c}html body a:not([href]){color:inherit;text-decoration:none}html body a{color:#08c;text-decoration:none}html body a:hover{color:#00a3f5;text-decoration:none}html body img{max-width:100%}html body>p{margin-top:0;margin-bottom:16px;word-wrap:break-word}html body>ul,html body>ol{margin-bottom:16px}html body ul,html body ol{padding-left:2em}html body ul.no-list,html body ol.no-list{padding:0;list-style-type:none}html body ul ul,html body ul ol,html body ol ol,html body ol ul{margin-top:0;margin-bottom:0}html body li{margin-bottom:0}html body li.task-list-item{list-style:none}html body li>p{margin-top:0;margin-bottom:0}html body .task-list-item-checkbox{margin:0 .2em .25em -1.8em;vertical-align:middle}html body .task-list-item-checkbox:hover{cursor:pointer}html body blockquote{margin:16px 0;font-size:inherit;padding:0 15px;color:#5c5c5c;background-color:#f0f0f0;border-left:4px solid #d6d6d6}html body blockquote>:first-child{margin-top:0}html body blockquote>:last-child{margin-bottom:0}html body hr{height:4px;margin:32px 0;background-color:#d6d6d6;border:0 none}html body table{margin:10px 0 15px 0;border-collapse:collapse;border-spacing:0;display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}html body table th{font-weight:bold;color:#000}html body table td,html body table th{border:1px solid #d6d6d6;padding:6px 13px}html body dl{padding:0}html body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}html body dl dd{padding:0 16px;margin-bottom:16px}html body code{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:.85em !important;color:#000;background-color:#f0f0f0;border-radius:3px;padding:.2em 0}html body code::before,html body code::after{letter-spacing:-0.2em;content:"\00a0"}html body pre>code{padding:0;margin:0;font-size:.85em !important;word-break:normal;white-space:pre;background:transparent;border:0}html body .highlight{margin-bottom:16px}html body .highlight pre,html body pre{padding:1em;overflow:auto;font-size:.85em !important;line-height:1.45;border:#d6d6d6;border-radius:3px}html body .highlight pre{margin-bottom:0;word-break:normal}html body pre code,html body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}html body pre code:before,html body pre tt:before,html body pre code:after,html body pre tt:after{content:normal}html body p,html body blockquote,html body ul,html body ol,html body dl,html body pre{margin-top:0;margin-bottom:16px}html body kbd{color:#000;border:1px solid #d6d6d6;border-bottom:2px solid #c7c7c7;padding:2px 4px;background-color:#f0f0f0;border-radius:3px}@media print{html body{background-color:#fff}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{color:#000;page-break-after:avoid}html body blockquote{color:#5c5c5c}html body pre{page-break-inside:avoid}html body table{display:table}html body img{display:block;max-width:100%;max-height:100%}html body pre,html body code{word-wrap:break-word;white-space:pre}}.markdown-preview{width:100%;height:100%;box-sizing:border-box}.markdown-preview .pagebreak,.markdown-preview .newpage{page-break-before:always}.markdown-preview pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}.markdown-preview pre.line-numbers>code{position:relative}.markdown-preview pre.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-preview pre.line-numbers .line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.markdown-preview pre.line-numbers .line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.markdown-preview .mathjax-exps .MathJax_Display{text-align:center !important}.markdown-preview:not([for="preview"]) .code-chunk .btn-group{display:none}.markdown-preview:not([for="preview"]) .code-chunk .status{display:none}.markdown-preview:not([for="preview"]) .code-chunk .output-div{margin-bottom:16px}.scrollbar-style::-webkit-scrollbar{width:8px}.scrollbar-style::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.scrollbar-style::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode]){position:relative;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow:auto}html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{position:relative;top:0}@media screen and (min-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em calc(50% - 457px + 2em)}}@media screen and (max-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{font-size:14px !important;padding:1em}}@media print{html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{display:none}}html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{position:fixed;bottom:8px;left:8px;font-size:28px;cursor:pointer;color:inherit;z-index:99;width:32px;text-align:center;opacity:.4}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] #sidebar-toc-btn{opacity:1}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc{position:fixed;top:0;left:0;width:300px;height:100%;padding:32px 0 48px 0;font-size:14px;box-shadow:0 0 4px rgba(150,150,150,0.33);box-sizing:border-box;overflow:auto;background-color:inherit}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar{width:8px}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc a{text-decoration:none}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc ul{padding:0 1.6em;margin-top:.8em}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc li{margin-bottom:.8em}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc ul{list-style-type:none}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{left:300px;width:calc(100% -  300px);padding:2em calc(50% - 457px -  150px);margin:0;box-sizing:border-box}@media screen and (max-width:1274px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{width:100%}}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .markdown-preview{left:50%;transform:translateX(-50%)}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .md-sidebar-toc{display:none}
/* Please visit the URL below for more information: */
/*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

      </style>
    </head>
    <body for="html-export">
      <div class="mume markdown-preview  ">
      <style>.center {
  text-align: center;
}
.h2 {
  font-size: 1em;
}
img.center {
  display: table;
}
@media screen {
  .printonly {
    display: none !important;
  }
}
</style>
<h1 class="mume-header printonly" id="xa0">&#xA0;</h1>

<h1 class="mume-header printonly" id="xa0-1">&#xA0;</h1>

<style type="text/css">
.red {
    color: #FF0000
}
.mid {
    text-align:center
}
</style>
<h1 class="mume-header center" id="%E7%A7%BB%E5%8A%A8%E6%81%B6%E6%84%8F%E7%A8%8B%E5%BA%8Ffaq%E4%BF%A1%E4%BB%A4%E9%9D%A2">&#x79FB;&#x52A8;&#x6076;&#x610F;&#x7A0B;&#x5E8F;FAQ(&#x4FE1;&#x4EE4;&#x9762;)</h1>

<h1 class="mume-header printonly" id="xa0-2">&#xA0;</h1>

<h1 class="mume-header center" id="%E7%9B%AE%E5%BD%95">&#x76EE;&#x5F55;</h1>

<div class="code-chunk" data-id="code-chunk-id-0" data-cmd="toc"><div class="input-div"><div class="btn-group"><div class="run-btn btn"><span>&#x25B6;&#xFE0E;</span></div><div class="run-all-btn btn">all</div></div><div class="status">running...</div></div><div class="output-div"></div></div><ul>
<li><a href="#H-1">1. &#x6982;&#x8FF0;</a></li>
<li><a href="#H-2">2. &#x670D;&#x52A1;&#x5668;&#x8D44;&#x6E90;</a></li>
<li><a href="#H-3">3. &#x5E38;&#x7528;&#x8D44;&#x6E90;</a>
<ul>
<li><a href="#H-3-1">3.1 &#x53C2;&#x8003;&#x8D44;&#x6599;</a></li>
</ul>
</li>
<li><a href="#H-4">4. &#x6D4B;&#x8BD5;&#x73AF;&#x5883;</a>
<ul>
<li><a href="#H-4-1">4.1 &#x6D4B;&#x8BD5;&#x62D3;&#x6251;</a></li>
<li><a href="#H-4-2">4.2 &#x6D4B;&#x8BD5;&#x65B9;&#x6848;</a></li>
</ul>
</li>
<li><a href="#H-5">5. &#x7A0B;&#x5E8F;&#x8D44;&#x6E90;</a>
<ul>
<li><a href="#H-5-1">5.1 &#x7A0B;&#x5E8F;&#x4F9D;&#x8D56;&#x5E93;</a></li>
<li><a href="#H-5-2">5.2 &#x7A0B;&#x5E8F;&#x76F8;&#x5173;&#x8BF4;&#x660E;</a>
<ul>
<li><a href="#H-5-2-1">5.2.1 namdSig</a></li>
<li><a href="#H-5-2-2">5.2.2 pktreplay</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#H-6">6. FAQ</a>
<ul>
<li><a href="#H-6-1">6.1 pktreaply FAQ</a></li>
</ul>
</li>
<li><a href="#H-7">7. &#x9644;&#x5F55;</a></li>
</ul>
<div class="pagebreak"> </div>
<h2 class="mume-header undefined" id="H-1">1. &#x6982;&#x8FF0;</h2>

<h2 class="mume-header undefined" id="H-2">2. &#x670D;&#x52A1;&#x5668;&#x8D44;&#x6E90;</h2>

<ul>
<li>&#x5F00;&#x53D1;&#x3001;&#x6D4B;&#x8BD5;&#x670D;&#x52A1;&#x5668;&#x8D44;&#x6E90;&#x5217;&#x8868;
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">IP&#x5730;&#x5740;</th>
<th style="text-align:left">&#x7528;&#x9014;</th>
<th style="text-align:left">&#x4E3B;&#x8981;&#x7528;&#x6237;</th>
<th style="text-align:left">&#x5907;&#x6CE8;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">&#x9879;&#x76EE;&#x670D;&#x52A1;&#x5668;SVN</td>
<td style="text-align:left">10.10.32.5<br>(<a href="https://10.10.32.5:8443/svn/DPI/namd">https://10.10.32.5:8443/svn/DPI/namd</a>)</td>
<td style="text-align:left">&#x3010;&#x9879;&#x76EE;&#x3011;SVN&#x516C;&#x5171;&#x8D44;&#x6E90;</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">&#x53D1;&#x5305;&#x670D;&#x52A1;&#x5668;</td>
<td style="text-align:left">10.10.90.113</td>
<td style="text-align:left">&#x3010;&#x4FE1;&#x4EE4;&#x9762;&#x3011;&#x5F00;&#x53D1;&#x3001;&#x8C03;&#x6D4B;&#x3001;&#x53D1;&#x5305;</td>
<td style="text-align:left">&#x5B59;&#x8FDB;&#x6770;/&#x6768;&#x660E;&#x5B9D;/&#x738B;&#x6657;</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">&#x6D4B;&#x8BD5;&#x670D;&#x52A1;&#x5668;</td>
<td style="text-align:left">10.10.90.204</td>
<td style="text-align:left">&#x3010;&#x4FE1;&#x4EE4;&#x9762;&#x3011;&#x529F;&#x80FD;&#x3001;&#x6027;&#x80FD;&#x6D4B;&#x8BD5;&#x673A;</td>
<td style="text-align:left">&#x5B59;&#x8FDB;&#x6770;/&#x6768;&#x660E;&#x5B9D;/&#x738B;&#x6657;</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">&#x6D4B;&#x8BD5;&#x670D;&#x52A1;&#x5668;</td>
<td style="text-align:left">10.10.90.203</td>
<td style="text-align:left">&#x3010;&#x4FE1;&#x4EE4;&#x9762;&#x3011;&#x529F;&#x80FD;&#x3001;&#x6027;&#x80FD;&#x6D4B;&#x8BD5;</td>
<td style="text-align:left">&#x5B59;&#x8FDB;&#x6770;/&#x6768;&#x660E;&#x5B9D;/&#x738B;&#x6657;</td>
<td style="text-align:left"></td>
</tr>
</tbody>
</table>
</li>
</ul>
<h2 class="mume-header undefined" id="H-3">3. &#x5E38;&#x7528;&#x8D44;&#x6E90;</h2>

<h3 class="mume-header undefined" id="H-3-1">3.1 &#x53C2;&#x8003;&#x8D44;&#x6599;</h3>

<ul>
<li>
<p>NamdSig</p>
<ul>
<li>NamdSig&#x516C;&#x5171;&#x6587;&#x6863; (<span class="red"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>&#x27F9;</mo></mrow><annotation encoding="application/x-tex">\Longrightarrow</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.549em;vertical-align:-0.024em;"></span><span class="mrel">&#x27F9;</span></span></span></span> </span> <a href="docs/">&#x70B9;&#x51FB;&#x8FDB;&#x5165;</a>)</li>
<li>NamdSig&#x6837;&#x4F8B;&#x62A5;&#x6587; (<span class="red"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>&#x27F9;</mo></mrow><annotation encoding="application/x-tex">\Longrightarrow</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.549em;vertical-align:-0.024em;"></span><span class="mrel">&#x27F9;</span></span></span></span> </span> <a href="data/">&#x70B9;&#x51FB;&#x8FDB;&#x5165;</a>)</li>
</ul>
</li>
<li>
<p>&#x5176;&#x5B83;&#x6587;&#x6863;</p>
<ul>
<li>&#x6076;&#x610F;&#x8F6F;&#x4EF6;&#x76F8;&#x5173;&#x8D44;&#x6599;&#x7F51;&#x7AD9; (<a href="http://cve.scap.org.cn/index">http://cve.scap.org.cn/index</a>)</li>
<li>&#x6C99;&#x7BB1;&#x8F6F;&#x4EF6;(<a href="https://cuckoosandbox.org/">https://cuckoosandbox.org/</a>)</li>
</ul>
</li>
</ul>
<h2 class="mume-header undefined" id="H-4">4. &#x6D4B;&#x8BD5;&#x73AF;&#x5883;</h2>

<h3 class="mume-header undefined" id="H-4-1">4.1 &#x6D4B;&#x8BD5;&#x62D3;&#x6251;</h3>

<ul>
<li>&#x53D1;&#x5305;
<ol>
<li>&#x6253;&#x5305;&#x5DE5;&#x5177;&#x53D1;&#x5305;&#xFF1A;<br>
IP113 :<code>enp26s0f0</code>,<code>enp26s0f1</code></li>
<li>&#x4EEA;&#x8868;&#x6253;&#x5305;(&#x89E6;&#x70B9;)<br>
IP130: 700Mb+</li>
</ol>
</li>
<li>&#x5206;&#x6D41;&#x5668;
<ol>
<li>IP107</li>
</ol>
</li>
<li>&#x63A5;&#x6536;&#x670D;&#x52A1;&#x5668;
<ol>
<li>IP128</li>
<li>IP203: <code>enp134s0f3</code></li>
<li>IP204: <code>enp59s0f1</code></li>
</ol>
</li>
<li>&#x6253;&#x6D41;&#x62D3;&#x6251;&#x56FE;
<ol>
<li>&#x4EEA;&#x8868;&#x6253;&#x6D41;<p class="line-numbers"><!--?xml version="1.0" encoding="UTF-8" standalone="no"?--><svg xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" contentscripttype="application/ecmascript" contentstyletype="text/css" height="372px" preserveAspectRatio="none" style="width:440px;height:372px;background:#FFFFFF;" version="1.1" viewBox="0 0 440 372" width="440px" zoomAndPan="magnify"><defs><filter height="300%" id="fxi4t77lj4yz7" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="81" x="20" y="17.457">DataGenerator</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="29" y="32.5508">10.10.90.130</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="69" x="32" y="47.6445">(DOTOUCH)</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="38" x="63" y="122.5508">Divider</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="29" y="137.6445">10.10.90.107</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="61" x="40" y="152.7383">(Semptian)</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="46" x="55" y="236.6445">Process</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="96" x="5" y="251.7383">10.10.90.203/204</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="60" x="41" y="266.832">(NamdSig)</text><rect fill="#FFC0CB" filter="url(#fxi4t77lj4yz7)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="122" x="106" y="25.1406"/><rect fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="122" x="106" y="130.2344"/><rect fill="#ADD8E6" filter="url(#fxi4t77lj4yz7)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="326" x="106" y="244.3281"/><path d="M169,30.1406 L169,60.1406 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M169,95.2344 L169,130.2344 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M165,135.2344 L165,165.2344 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M165,209.3281 L165,244.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M169,249.3281 L169,279.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M291,249.3281 L291,279.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M393,249.3281 L393,286.875 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" height="35.0938" style="stroke:#A80036;stroke-width:1.0;" width="64" x="135" y="60.1406"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="44" x="145" y="82.5977">dotouch</text><path d="M148,175.2344 C148,165.2344 167,165.2344 167,165.2344 C167,165.2344 186,165.2344 186,175.2344 L186,199.3281 C186,209.3281 167,209.3281 167,209.3281 C167,209.3281 148,209.3281 148,199.3281 L148,175.2344 " fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M148,175.2344 C148,185.2344 167,185.2344 167,185.2344 C167,185.2344 186,185.2344 186,175.2344 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="18" x="158" y="201.6914">:P0</text><rect fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="92" x="121" y="279.3281"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="131" y="301.7852">10.10.90.203</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="67" x="131" y="316.8789">(enp59s0f3)</text><rect fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="92" x="243" y="279.3281"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="253" y="301.7852">10.10.90.204</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="67" x="253" y="316.8789">(enp59s0f1)</text><rect fill="#FEFECE" filter="url(#fxi4t77lj4yz7)" height="35.0938" style="stroke:#A80036;stroke-width:1.0;" width="52" x="365" y="286.875"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="32" x="375" y="309.332">IP128</text><!--MD5=[ef3b78ecef9ada3f0803cc8b4b617098]
@startuml
nwdiag {
  network DataGenerator {
    color = "pink"
    address = "10.10.90.130\n(DOTOUCH)"; 
    dotouch [];
  }

  network Divider {
    address = "10.10.90.107\n(Semptian)"; 
    dotouch;
    divider00 [shape = database, description = ":P0" ];
  }

  network Process {
    color = "LightBlue";
    address = "10.10.90.203/204\n(NamdSig)"; 
    divider00;
    IP203 [description = "10.10.90.203\n(enp59s0f3)"];
    IP204 [description = "10.10.90.204\n(enp59s0f1)"];
    IP128; 
  }
}
@enduml

PlantUML version 1.2021.12(Wed Oct 06 00:01:58 CST 2021)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
Default Encoding: UTF-8
Language: zh
Country: CN
--></g></svg></p></li>
<li>pktreplay&#x6253;&#x6D41;<p class="line-numbers"><!--?xml version="1.0" encoding="UTF-8" standalone="no"?--><svg xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" contentscripttype="application/ecmascript" contentstyletype="text/css" height="387px" preserveAspectRatio="none" style="width:439px;height:387px;background:#FFFFFF;" version="1.1" viewBox="0 0 439 387" width="439px" zoomAndPan="magnify"><defs><filter height="300%" id="f1owugom4jubab" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="81" x="20" y="17.457">DataGenerator</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="29" y="32.5508">10.10.90.113</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="63" x="38" y="47.6445">(PktReplay)</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="38" x="63" y="137.6445">Divider</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="29" y="152.7383">10.10.90.107</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="61" x="40" y="167.832">(Semptian)</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="48" x="53" y="251.7383">Program</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="96" x="5" y="266.832">10.10.90.203/204</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="60" x="41" y="281.9258">(NamdSig)</text><rect fill="#00AA00" height="294.4688" style="stroke:#00AA00;stroke-width:1.0;" width="141" x="116" y="55.1406"/><rect fill="#FFFF88" height="294.4688" style="stroke:#FFFF88;stroke-width:1.0;" width="144" x="277" y="55.1406"/><rect fill="#FFC0CB" filter="url(#f1owugom4jubab)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="325" x="106" y="25.1406"/><rect fill="#FEFECE" filter="url(#f1owugom4jubab)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="325" x="106" y="145.3281"/><rect fill="#ADD8E6" filter="url(#f1owugom4jubab)" height="5" style="stroke:#A80036;stroke-width:1.0;" width="325" x="106" y="259.4219"/><path d="M188.5,30.1406 L188.5,60.1406 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M188.5,110.3281 L188.5,145.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M351,30.1406 L351,60.1406 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M351,110.3281 L351,145.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M184.5,150.3281 L184.5,180.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M184.5,224.4219 L184.5,259.4219 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M347,150.3281 L347,180.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M347,224.4219 L347,259.4219 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M188.5,264.4219 L188.5,294.4219 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><path d="M351,264.4219 L351,294.4219 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1owugom4jubab)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="87" x="143" y="60.1406"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="55" x="153" y="82.5977">PktReplay</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="67" x="153" y="97.6914">(enp26s0f0)</text><rect fill="#FEFECE" filter="url(#f1owugom4jubab)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="87" x="305.5" y="60.1406"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="55" x="315.5" y="82.5977">PktReplay</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="67" x="315.5" y="97.6914">(enp26s0f1)</text><path d="M147.5,190.3281 C147.5,180.3281 186.5,180.3281 186.5,180.3281 C186.5,180.3281 225.5,180.3281 225.5,190.3281 L225.5,214.4219 C225.5,224.4219 186.5,224.4219 186.5,224.4219 C186.5,224.4219 147.5,224.4219 147.5,214.4219 L147.5,190.3281 " fill="#FEFECE" filter="url(#f1owugom4jubab)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M147.5,190.3281 C147.5,200.3281 186.5,200.3281 186.5,200.3281 C186.5,200.3281 225.5,200.3281 225.5,190.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="58" x="157.5" y="216.7852">:P1--&gt;:P12</text><path d="M308.5,190.3281 C308.5,180.3281 349,180.3281 349,180.3281 C349,180.3281 389.5,180.3281 389.5,190.3281 L389.5,214.4219 C389.5,224.4219 349,224.4219 349,224.4219 C349,224.4219 308.5,224.4219 308.5,214.4219 L308.5,190.3281 " fill="#FEFECE" filter="url(#f1owugom4jubab)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M308.5,190.3281 C308.5,200.3281 349,200.3281 349,200.3281 C349,200.3281 389.5,200.3281 389.5,190.3281 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="61" x="318.5" y="216.7852">:P2 --&gt;:P13</text><rect fill="#FEFECE" filter="url(#f1owugom4jubab)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="131" x="121" y="294.4219"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="131" y="316.8789">10.10.90.203</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="111" x="131" y="331.9727">(enp59s0f3/3b:00.3)</text><rect fill="#FEFECE" filter="url(#f1owugom4jubab)" height="50.1875" style="stroke:#A80036;stroke-width:1.0;" width="134" x="282" y="294.4219"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="72" x="292" y="316.8789">10.10.90.204</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="114" x="292" y="331.9727">(enp59s0f1/3b:00..1)</text><!--MD5=[3ccc9c797bd233bd983327bb2c38037f]
@startuml
nwdiag {
  // define group at outside network definitions
  group {
    color = "#00aa00";
    pktreplay01;
    divider01;
    IP203;
  }

  group {
    color = "#ffff88";
    pktreplay02;
    divider02;
    IP204
  }

  network DataGenerator {
    color = "pink"
    address = "10.10.90.113\n(PktReplay)"; 
    pktreplay01 [description = "PktReplay\n(enp26s0f0)"];
    pktreplay02 [description = "PktReplay\n(enp26s0f1)"];
  }

  network Divider {
    address = "10.10.90.107\n(Semptian)"; 
    pktreplay01;
    pktreplay02;
    divider01 [shape = database, description = ":P1- ->:P12" ];
    divider02 [shape = database, description = ":P2 - ->:P13" ];
  }

  network Program {
    color = "LightBlue";
    address = "10.10.90.203/204\n(NamdSig)"; 
    divider01;
    divider02;
    IP203 [description = "10.10.90.203\n(enp59s0f3/3b:00.3)"];
    IP204 [description = "10.10.90.204\n(enp59s0f1/3b:00..1)"];
  }
}
@enduml

PlantUML version 1.2021.12(Wed Oct 06 00:01:58 CST 2021)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
Default Encoding: UTF-8
Language: zh
Country: CN
--></g></svg></p></li>
</ol>
</li>
</ul>
<h3 class="mume-header undefined" id="H-4-2">4.2 &#x6D4B;&#x8BD5;&#x65B9;&#x6848;</h3>

<ul>
<li>
<p>&#x53D1;&#x5305;&#x670D;&#x52A1;&#x5668;</p>
<ul>
<li>tcpreplay&#x6253;&#x6D41;(INTEL&#x7F51;&#x5361; X710 10G)<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># 10G INTEL&#x7F51;&#x5361;</span>
IP113$ tcpreplay -i enp26s0f0 -M 20M -l <span class="token number">100000000</span>  N11_dump.pcap
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre></li>
<li>pktreplay&#x6253;&#x6D41;(INTEL&#x7F51;&#x5361; X710 10G)<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># 10G INTEL&#x7F51;&#x5361; </span>
IP113$ ./pktreplay --file-prefix<span class="token operator">=</span>test123 --socket-mem<span class="token operator">=</span><span class="token number">10000,10000</span> -w  1a:00.0 -- --config<span class="token operator">=</span>config_2005.ini
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre><ul>
<li>&#x5907;&#x6CE8;
<ol>
<li>INTEL&#x7F51;&#x5361;&#x9700;&#x8981;&#x624B;&#x52A8;DPDK&#x7ED1;&#x5B9A;&#xFF0C;MLX&#x7F51;&#x5361;&#x5219;&#x4E0D;&#x9700;&#x8981;</li>
</ol>
</li>
</ul>
</li>
<li>&#x4EEA;&#x8868;&#x6253;&#x6D41;<br>
(&#x7565;)</li>
</ul>
</li>
<li>
<p>&#x4FE1;&#x4EE4;&#x9762;&#x7A0B;&#x5E8F;&#x670D;&#x52A1;&#x5668;</p>
<ul>
<li>&#x8FD0;&#x884C;&#x547D;&#x4EE4;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ <span class="token builtin class-name">cd</span> namdsig
$ ./edas -c 0x0f -f edas.conf 
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre><ul>
<li>&#x53C2;&#x6570;&#x8BF4;&#x660E;
<ul>
<li>-c <code>cpumask</code><br>
&#x8BE5;&#x53C2;&#x6570;&#x6307;&#x5B9A;&#x7A0B;&#x5E8F;&#x8F93;&#x51FA;&#x6E90;&#x4E3A;&#x7F51;&#x5361;&#xFF1B;&#x7F3A;&#x5931;&#x60C5;&#x51B5;&#x4E0B;&#x5219;&#x8868;&#x793A;&#x8F93;&#x5165;&#x6E90;&#x4E3A;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x3002;<br>
&#x6839;&#x636E;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x7684;<code>[DPDK]/[ThreadNum]</code>&#x8FDB;&#x884C;&#x914D;&#x7F6E;&#xFF0C;&#x5177;&#x4F53;&#x63A9;&#x7801;&#x4E2A;&#x6570; = <code>[DPDK]/[ThreadNum]</code>&#x8BBE;&#x7F6E;&#x503C; + 3</li>
<li>-f <code>edas.conf</code><br>
&#x8BE5;&#x53C2;&#x6570;&#x6307;&#x5B9A;&#x672C;&#x7A0B;&#x5E8F;&#x4F9D;&#x8D56;&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x540D;&#x79F0;&#x3002;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
<p>&#x6052;&#x626C;&#x5206;&#x6D41;&#x5668;</p>
<ul>
<li>&#x547D;&#x4EE4;&#x793A;&#x4F8B;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># IN: 0-&#x4EEA;&#x8868;, 1-IP113</span>
<span class="token comment"># OUT: 12/13/14-IP203/IP204/IP119</span>
IP107$ show statistics traffic <span class="token number">1</span>/0/0-1,12-14
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span></span></pre></li>
</ul>
</li>
</ul>
<h2 class="mume-header undefined" id="H-5">5. &#x7A0B;&#x5E8F;&#x8D44;&#x6E90;</h2>

<h3 class="mume-header undefined" id="H-5-1">5.1 &#x7A0B;&#x5E8F;&#x4F9D;&#x8D56;&#x5E93;</h3>

<ol>
<li>&#x8FD0;&#x7EF4;&#x4F9D;&#x8D56;yum&#x5E93;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ yum -y <span class="token function">install</span>  epel-release 
$ yum -y <span class="token function">install</span> tree <span class="token function">htop</span> stress <span class="token function">screen</span> <span class="token function">nc</span> tcpreplay perf lrzsz
$ yum -y <span class="token function">install</span> <span class="token function">unzip</span> <span class="token function">lsof</span> mlocate <span class="token function">rsync</span> dos2unix  ntp monit
<span class="token comment"># telnet</span>
$ yum -y <span class="token function">install</span> telnet* xinetd
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span></span></pre><ul>
<li>&#x81EA;&#x542F;&#x52A8;&#x914D;&#x7F6E;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># telent</span>
$ systemctl <span class="token builtin class-name">enable</span> xinetd.service
$ systemctl <span class="token builtin class-name">enable</span> telnet.socket
$ systemctl start telnet.socket 
$ systemctl start xinetd
$ <span class="token function">vi</span> /etc/securetty
&#x5728;&#x6700;&#x540E;&#x6DFB;&#x52A0;&#x4E24;&#x884C;
pts/0
pts/1
<span class="token comment"># &#x9A8C;&#x8BC1;</span>
$ systemctl restart xinetd
<span class="token comment"># &#x786E;&#x8BA4;&#x4E0B;&#x662F;&#x5426;&#x542F;&#x52A8;&#x6210;&#x529F;</span>
$ <span class="token function">netstat</span> -plnt <span class="token operator">|</span><span class="token function">grep</span> <span class="token number">23</span>
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></pre></li>
</ul>
</li>
<li>&#x4EA7;&#x54C1;&#x4F9D;&#x8D56;yum&#x5E93;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># &#x7F16;&#x8BD1;&#x73AF;&#x5883;</span>
$ yum -y <span class="token function">install</span> cmake gdb gcc-c++ scons

<span class="token comment"># leveldb/readline/ncurses ......</span>
$ yum -y <span class="token function">install</span> ncurses-devel openssl-devel readline-devel libpcap-devel

<span class="token comment"># leveldb</span>
$ yum -y <span class="token function">install</span> leveldb leveldb-devel

<span class="token comment"># numa</span>
$ yum -y <span class="token function">install</span> numactl-devel libnuma-dev 
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></pre></li>
<li>&#x7B2C;3&#x65B9;&#x4F9D;&#x8D56;&#x5E93;
<ol>
<li>json&#x5E93;
<ul>
<li>rapidjson<br>
<a href="http://rapidjson.org/zh-cn/">http://rapidjson.org/zh-cn/</a></li>
</ul>
</li>
<li>openssl 1.0.1k<br>
&#x5B89;&#x88C5;openssl&#x65F6;&#x66F4;&#x5EFA;&#x8BAE;&#x5C06;openssl&#x3001;openssl-devel&#x4E00;&#x5757;&#x513F;&#x5B89;&#x88C5;&#xFF0C;&#x5426;&#x5219;&#x53EF;&#x80FD;&#x51FA;&#x73B0;openssl&#x4E0D;&#x53EF;&#x7528;&#x3002;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># &#x786E;&#x8BA4;&#x5F53;&#x524D;SSL&#x7248;&#x672C;&#x53F7;</span>
$ openssl version
OpenSSL <span class="token number">1.0</span>.1e-fips <span class="token number">11</span> Feb <span class="token number">2013</span>
<span class="token comment"># &#x5378;&#x8F7D;&#x65E7;&#x7248;&#x672C;</span>
$ <span class="token function">rpm</span> -e openssl --nodeps

<span class="token comment"># &#x5B89;&#x88C5;&#x65B0;&#x7248;&#x672C;</span>
<span class="token comment"># &#x672A;&#x7ECF;&#x9A8C;&#x8BC1;, &#x5F85;&#x786E;&#x8BA4;: --nodeps --force</span>
$ <span class="token function">rpm</span> -ivh openssl-1.0.2k-22.el7_9.x86_64.rpm 
$ <span class="token function">rpm</span> -ivh openssl-devel-1.0.2k-22.el7_9.x86_64.rpm 
$ <span class="token function">rpm</span> -ivh openssl-libs-1.0.2k-22.el7_9.x86_64.rpm 

<span class="token comment"># &#x67E5;&#x8BE2;&#x7248;&#x672C;&#x53F7;</span>
$ openssl version
OpenSSL <span class="token number">1.0</span>.2k-fips  <span class="token number">26</span> Jan <span class="token number">2017</span>
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></pre></li>
</ol>
</li>
</ol>
<h3 class="mume-header undefined" id="H-5-2">5.2 &#x7A0B;&#x5E8F;&#x76F8;&#x5173;&#x8BF4;&#x660E;</h3>

<h4 class="mume-header undefined" id="H-5-2-1">5.2.1 namdSig</h4>

<ul>
<li>&#x8FDB;&#x7A0B;&#x542F;&#x52A8;&#x547D;&#x4EE4;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ ./edas <span class="token punctuation">[</span>-c 0x0f<span class="token punctuation">]</span> -f edas.conf
<span aria-hidden="true" class="line-numbers-rows"><span></span></span></pre><ul>
<li>&#x6CE8;&#x610F;
<ol>
<li>&#x786E;&#x8BA4;&#x5927;&#x9875;&#x5185;&#x5B58;&#x60C5;&#x51B5;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ <span class="token function">cat</span> /proc/meminfo <span class="token operator">|</span> <span class="token function">grep</span> Huge
AnonHugePages:         <span class="token number">0</span> kB
HugePages_Total:      <span class="token number">40</span>
HugePages_Free:       <span class="token number">32</span>
HugePages_Rsvd:        <span class="token number">0</span>
HugePages_Surp:        <span class="token number">0</span>
Hugepagesize:    <span class="token number">1048576</span> kB            
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></pre></li>
<li>&#x786E;&#x8BA4;DPDK&#x7F51;&#x5361;&#x7ED1;&#x5B9A;&#x60C5;&#x51B5;<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ <span class="token builtin class-name">cd</span> /usr/local/lib/usertools/
$ ./dpdk-devbind.py --status
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre></li>
<li>&#x56DE;&#x653E;&#x6587;&#x4EF6;&#x6A21;&#x5F0F;&#x4E0B;&#xFF0C;&#x7A0B;&#x5E8F;&#x4F1A;&#x5728;&#x56DE;&#x653E;&#x6587;&#x4EF6;&#x6240;&#x5728;&#x76EE;&#x5F55;&#x4E0B;&#x589E;&#x52A0;&#x4E00;&#x4E2A;&#x4EE5;<code>.ok</code>&#x4E3A;&#x7ED3;&#x5C3E;&#x7684;&#x4E2D;&#x95F4;&#x6587;&#x4EF6;&#x3002;<br>
&#x5728;&#x91CD;&#x590D;&#x56DE;&#x653E;&#x540C;&#x4E00;pcap&#x6587;&#x4EF6;&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x5728;&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x4E4B;&#x524D;&#x628A;pcap&#x6587;&#x4EF6;&#x5BF9;&#x5E94;&#x7684;&#x4E2D;&#x95F4;&#x6587;&#x4EF6;(<code>.ok</code>)&#x6587;&#x4EF6;&#x5220;&#x9664;&#x3002;&#x5426;&#x5219;&#xFF0C;pcap&#x6587;&#x4EF6;&#x4F1A;&#x88AB;&#x7A0B;&#x5E8F;&#x5FFD;&#x7565;&#x3002;</li>
</ol>
</li>
</ul>
</li>
</ul>
<h4 class="mume-header undefined" id="H-5-2-2">5.2.2 pktreplay</h4>

<ul>
<li>
<p>&#x8FDB;&#x7A0B;&#x542F;&#x52A8;&#x547D;&#x4EE4;</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># IP72</span>
$ <span class="token builtin class-name">cd</span> /home/tester/pktreplay
./pktreplay --file-prefix<span class="token operator">=</span>test123 --socket-mem<span class="token operator">=</span><span class="token number">0,20000</span> -w d8:00.0 -- --config<span class="token operator">=</span>wuhan_business_eybd_TMP_0120
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span></span></pre><p>&#x53C2;&#x6570;&#x8BF4;&#x660E;:</p>
<ul>
<li>--file-prefix<br>
&#x5927;&#x9875;&#x5185;&#x5B58;&#x6587;&#x4EF6;&#x7684;&#x524D;&#x7F00;</li>
<li>--socket-mem<br>
&#x4E3A;&#x6BCF;&#x4E2A;CPU&#x7684;socket&#x5206;&#x914D;&#x5185;&#x5B58;&#xFF0C;&#x5355;&#x4F4D;Mb&#x3002;<br>
socket&#x5E8F;&#x53F7;&#x4ECE;&#x5DE6;&#x5230;&#x53F3;&#x9012;&#x589E;&#xFF0C;&#x4F9D;&#x6B21;&#x8FDB;&#x884C;&#x5206;&#x914D;&#x3002;
<ul>
<li>e.g. &#x5171;2&#x4E2A;socket, socket0&#x4E0D;&#x914D;&#x7F6E;&#x5185;&#x5B58;&#xFF0C;socket1&#x914D;&#x7F6E;512Mb&#x5185;&#x5B58;&#x3002;<br>
&#x90A3;&#x4E48;&#x914D;&#x7F6E;&#x53C2;&#x6570;&#x5E94;&#x4E3A;: --socket-mem=0,512</li>
<li>e.g. 4&#x4E2A;socket&#x4E0B;&#xFF0C;0&#x53F7;&#x53CA;2&#x53F7;socket&#x914D;&#x7F6E;&#x4E3A;1024&#x5185;&#x5B58;&#xFF0C;&#x5176;&#x5B83;socket&#x4E0D;&#x914D;&#x7F6E;&#x3002;<br>
&#x90A3;&#x4E48;&#x914D;&#x7F6E;&#x53C2;&#x6570;&#x5C31;&#x4E3A;: --socket-mem=1024,0,1024 [,0]</li>
</ul>
</li>
<li>-w  INTERFACE<br>
&#x540E;&#x8DDF;&#x7F51;&#x5361;&#x7684;PCI&#x5730;&#x5740;</li>
<li>--config <code>FILENAME</code><br>
&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x540D;&#x79F0;</li>
</ul>
</li>
<li>
<p>&#x6CE8;&#x610F;&#x4E8B;&#x9879;</p>
<ol>
<li>&#x4F7F;&#x7528;10G Intel&#x7F51;&#x5361;&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x624B;&#x52A8;&#x7ED1;&#x5B9A;DPDK&#x7F51;&#x5361;&#xFF0C;&#x8BA9;&#x7F51;&#x5361;&#x5728;<code>ifconfig</code>&#x547D;&#x4EE4;&#x4E0B;&#x4E0D;&#x53EF;&#x89C1;&#x3002;<br>
&#x800C;&#x4F7F;&#x7528;100G Mellanox&#x7F51;&#x5361;&#x65F6;&#xFF0C;&#x4E0D;&#x9700;&#x8981;&#x624B;&#x52A8;&#x7ED1;&#x5B9A;&#x7F51;&#x5361;&#xFF0C;&#x6B64;&#x65F6;<code>ifconfig</code>&#x547D;&#x4EE4;&#x4E0B;&#xFF0C;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x7F51;&#x5361;&#x76F8;&#x5173;&#x53C2;&#x6570;&#x3002;</li>
</ol>
</li>
</ul>
<h2 class="mume-header undefined" id="H-6">6. FAQ</h2>

<h3 class="mume-header undefined" id="H-6-1">6.1 pktreaply FAQ</h3>

<ol>
<li>
<p>Q: MLX&#x7F51;&#x5361;&#x9A71;&#x52A8;: MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.3-x86_64<br>
&#x8FD0;&#x884C;pktreplay_0925&#x65F6;&#xFF0C;&#x4F1A;&#x63D0;&#x793A;&#x5982;&#x4E0B;&#x9519;&#x8BEF;&#xFF1A;</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ ./pktreplay_0925 --file-prefix<span class="token operator">=</span>test_buss --socket-mem<span class="token operator">=</span><span class="token number">0,20000</span> -c 0xffffff000000  -w d8:00.0  - --config<span class="token operator">=</span>wuhan_business_eybd_TMP_0120
./pktreplay_0925: /lib64/libibverbs.so.1: version <span class="token variable"><span class="token variable">`</span>IBVERBS_1.8&apos; not found <span class="token punctuation">(</span>required by ./pktreplay_0925<span class="token punctuation">)</span>
./pktreplay_0925: /lib64/libmlx5.so.1: version <span class="token variable">`</span></span>MLX5_OFED_4.7<span class="token string">&apos; not found (required by ./pktreplay_0925)
./pktreplay_0925: /lib64/libmlx5.so.1: version `MLX5_1.11&apos;</span> not found <span class="token punctuation">(</span>required by ./pktreplay_0925<span class="token punctuation">)</span>
./pktreplay_0925: /lib64/libmlx5.so.1: version `MLX5_1.12&apos; not found <span class="token punctuation">(</span>required by ./pktreplay_0925<span class="token punctuation">)</span>    
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span></span></pre><p>A:<br>
MLX&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x4E0E;MLX&#x7F51;&#x5361;&#x9A71;&#x52A8;&#x7248;&#x672C;&#x4E0D;&#x4E00;&#x81F4;&#xFF0C;&#x8981;&#x4E48;&#x91CD;&#x7F16;&#x9A71;&#x52A8;&#x7A0B;&#x5E8F;&#xFF0C;&#x8981;&#x4E48;&#x91CD;&#x7F16;&#x8BD1;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x3002;&#x8FD9;&#x91CC;&#x4EE5;&#x9A71;&#x52A8;&#x7A0B;&#x5E8F;&#x4E3A;&#x4F8B;&#xFF0C;&#x4F5C;&#x4EE5;&#x8BF4;&#x660E;&#x3002;<br>
&#x91CD;&#x65B0;&#x4E0B;&#x8F7D;MLX&#x7F51;&#x5361;&#x9A71;&#x52A8;&#xFF1A;MLNX_OFED_LINUX-5.1-2.5.8.0-rhel7.3-x86_64.tgz&#xFF0C;&#x91CD;&#x65B0;&#x8FD0;&#x884C;<code>pktreplay</code>&#x7A0B;&#x5E8F;&#xFF0C;&#x5F97;&#x5230;&#x5982;&#x4E0B;&#x7ED3;&#x679C;:</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers"><span class="token comment"># ./pktreplay_0925 --file-prefix=test_buss --socket-mem=0,20000 -c 0xffffff000000  -w d8:00.0  - --config=wuhan_business_eybd_TMP_0120</span>
./pktreplay_0925: /lib64/libmlx5.so.1: version `MLX5_OFED_4.7&apos; not found <span class="token punctuation">(</span>required by ./pktreplay_0925<span class="token punctuation">)</span>    
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre><p>&#x4ECD;&#x662F;&#x9A71;&#x52A8;&#x7248;&#x672C;&#x4E0D;&#x5339;&#x914D;&#x95EE;&#x9898;&#xFF0C;<br>
&#x91CD;&#x65B0;&#x4E0B;&#x8F7D;MLX&#x7F51;&#x5361;&#x9A71;&#x52A8;&#xFF1A; MLNX_OFED_LINUX-5.0-2.1.8.0-rhel7.3-x86_64.tgz&#x3002;&#x91CD;&#x65B0;&#x8FD0;&#x884C;&#x7A0B;&#x5E8F;&#xFF0C;OK!!!</p>
</li>
<li>
<p>Q:</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">EAL: Error - exiting with code: <span class="token number">1</span>
Cause: No Ethernet ports
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre><p>A:</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">$ yum <span class="token function">install</span> pciutils
<span aria-hidden="true" class="line-numbers-rows"><span></span></span></pre></li>
<li>
<p>Q:</p>
<pre data-role="codeBlock" data-info="shell {.line-numbers}" class="language-shell line-numbers">EAL: Error - exiting with code: <span class="token number">1</span>
Cause: no dpdk port    
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></pre><p>A: &#x672A;&#x627E;&#x5230;dpdk&#x7F51;&#x5361;&#xFF0C;&#x9700;&#x8981;&#x4F7F;&#x7528;<code>dpdk-devbind.py</code>&#x811A;&#x672C;&#xFF0C;&#x7ED1;&#x5B9A;&#x76F8;&#x5E94;&#x7684;dpdk&#x7F51;&#x5361;&#x3002;</p>
</li>
</ol>
<h2 class="mume-header undefined" id="H-7">7. &#x9644;&#x5F55;</h2>

<hr>

      </div>
      
      
    
    
    
    
    
    
    
    
  
    </body></html>